package com.xiaoning.sun.spring.mvc.model;

import com.xiaoning.sun.spring.mvc.annotation.ValidatorAnnotation;


public class LoginForm {
	@ValidatorAnnotation(propertyKey="NotEmpty.userForm.userName",defaultAlertMessage="Please Enter User Name", notNullAble=true,description="用户名格式不正确")
	private String userName;
	@ValidatorAnnotation(propertyKey="NotEmpty.userForm.password",defaultAlertMessage="Please Enter Password", notNullAble=true)
	private String password;
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
